﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
using OpenMetaverse;

namespace Trim
{
    static class Program
    {
        public class TrimClient
        {
            public LoginForm LoginFormInstance;
            public LoggingInForm LoggingInFormInstance;
            public FriendsListForm FriendsListFormInstance;
            public ResidentSearchForm ResidentSearchFormInstance;
            public Dictionary<UUID, IMForm> IMForms;

            public GridClient SL;

            public LoginParams LoginParams;
        }

        public static TrimClient client;

        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            
            client = new TrimClient();
            client.LoginFormInstance = new LoginForm();

            Application.Run(client.LoginFormInstance);
        }
    }
}
